<style tyle="text/css">
  .modal-lg {
      width: 60%;
  }
</style>
<div class="modal-header">
  <h4 class="modal-title">选择招徕产品</h4>
</div>
<div class="modal-body">
  <div class="row wrapper ng-scope" style="max-height: 360px; overflow:auto">

    <!-- 网络太差, 画圈等 -->
    <h3 class="col-sm-12 text-center" ng-show="searchform.loading">
      <i class="fa fa-spin fa-spinner hide show inline"/>
    </h3>

    <table class="table table-striped table-bordered" style="margin-bottom:0px" ng-show="!searchform.loading">
      <thead>
        <tr>
          <th style="width: 5%; text-align: center;">
            <label class="i-checks m-b-none">
              <input type="checkbox" ng-click="selectAll(all)" ng-model="all"><i></i>
            </label>
          </th>
          <th style="width: 30%; text-align: center;">产品名称</th>
          <th style="width: 23%; text-align: center;">产品编号</th>
          <th style="width: 27%; text-align: center;">供应商</th>
          <th style="width: 15%; text-align: center;">产品类型</th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat="info in saleList">
          <td class="text-center">
            <label class="i-checks m-b-none">
              <input type="checkbox" ng-model="info.check"><i></i>
            </label>
          </td>
          <td>{{info.name}}</td>
          <td class="text-center">{{info.code}}</td>
          <td>{{info.create_company_name}}</td>
          <td class="text-center">{{info.sale_type=='J'?'景区':'酒店'}}</td>
        </tr>
      </tbody>
    </table>

  </div>
</div>
<div class="modal-footer">
  <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
  <button class="btn btn-danger" type="button" ng-click="cancel()">取消</button>
</div>

